package kuzmenkov.oip.model;

import java.util.Set;

/**
 * Class presents the db tables "method_class"
 * User: Michael Kuzmenkov
 * Date: 18.03.2009
 * Time: 18:02:19
 */
public class MethodClass {
    /**
     * The primary key
     */
    private Long methodClassId;

    private String name;
    private String name_ru;
    private String description;
    private String description_ru;
    /**
     * The foreign key of a superclass of this method class
     */
    private MethodClass superclass;

    private Set<MethodClass> subclasses;

    private Set<Module> modules ;

    public String getName_ru() {
        return name_ru;
    }

    public void setName_ru(String name_ru) {
        this.name_ru = name_ru;
    }

    public String getDescription_ru() {
        return description_ru;
    }

    public void setDescription_ru(String description_ru) {
        this.description_ru = description_ru;
    }

    public Long getMethodClassId() {
        return methodClassId;
    }

    public void setMethodClassId(Long methodClassId) {
        this.methodClassId = methodClassId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public MethodClass getSuperclass() {
        return superclass;
    }

    public void setSuperclass(MethodClass superclass) {
        this.superclass = superclass;
    }

    public Set<Module> getModules() {
        return modules;
    }

    public void setModules(Set<Module> modules) {
        this.modules = modules;
    }

    public Set<MethodClass> getSubclasses() {
        return subclasses;
    }

    public void setSubclasses(Set<MethodClass> subclasses) {
        this.subclasses = subclasses;
    }
}
